<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>发短信</title>
    <link rel="stylesheet" href="/static/js/plugins/jquery-easyui/themes/gray/easyui.css">
    <link rel="stylesheet" href="/static/js/plugins/jquery-easyui/themes/icon.css">
    <!--jquery必须在easyui之前导入  -->
    <script src="/static/js/plugins/jquery-easyui/jquery.min.js"></script>
    <script src="/static/js/plugins/jquery-easyui/jquery.easyui.min.js"></script>
    <script src="/static/js/plugins/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/system/message.js"></script>
</head>
<body>
<div id="cc" class="easyui-layout" fit="true" style="background-color: #b3b3b3">
    <div data-options="region:'center'">
        <div style="margin-left: 30px;margin-top: 15px">
            <a href="#" class="easyui-linkbutton" onclick="checkMessage()" data-options="iconCls:'icon-search'">短信模版</a>
            <a href="#" class="easyui-linkbutton" style="margin-left: 30px" onclick="historicalInformation()"
               data-options="iconCls:'icon-add'">历史信息</a>
        </div>
        <form id="send_form" method="post">
            <div style="height: 40px"></div>
            <div style="height: 40px">
                会员姓名 <input class="easyui-textbox" name="memberNname" id="member_name" prompt="请输入会员名字">
            </div>
            <div style="height: 40px">
                手机号码 <input class="easyui-textbox" name="tel" id="tel" prompt="请输入会员的手机号码">
            </div>
            <div>
            <textarea cols="60" rows="15" name="content" id="content" style="background-color:whitesmoke">
                请输入你想给对方说的话
            </textarea>
            </div>

            <div style="margin-left: 300px;margin-top: 15px">
                <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add'" onclick="send()">发送</a>
            </div>
        </form>
    </div>
    <div data-options="region:'east',split:true" style="width:40%;">
        <div align="center" id="member">
            <input class="easyui-textbox" name="keyword" id="keyword" prompt="请按照名字和电话号码查询">
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true"
               onclick="query()">查询</a>
            <a id="btn" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'"
               onclick="choice()">选择会员</a>
        </div>
        <div id="message_diagrid" fit=true></div>
    </div>
</div>
<div id="checkMessage_dialog">
    <table align="center" style="margin-top: 15px">
        <tr>
            <td colspan="2">
                <div id="message"></div>
            </td>
        </tr>
    </table>
</div>
<div id="historical_dialog" class="easyui-dialog">
    <table id="historicalInformation"></table>
</div>

</body>
</html>
